FROM daocloud.io/java:7
MAINTAINER  taowan
ENV TZ "Asia/Shanghai"
ENV TERM xterm
RUN mkdir  -p /server
RUN mkdir  -p /server/lib
ADD heatedloan-credit-biz.jar /server/
ADD lib/* /server/lib/
ADD config/* /home/root/config/
ADD docker_dubbo_enterpoint.sh /tmp
CMD ["sh", "/tmp/docker_dubbo_enterpoint.sh", "heatedloan-credit-biz.jar"]